<template>
  <div class="wrapper">
    <h3>{{ name }}</h3>
    <el-button type="primary" @click="add">加法</el-button>
  </div>
</template>

<script setup lang="ts">
console.log(this)
defineOptions({
  name: 'liveIn'
})
// 模块引入
import { ref } from 'vue'
const name = ref(0)
const add = () => {
  name.value += 1
}
</script>

<style scoped lang="scss"></style>
